Sync documentation#802
Merged
Merged
Conversation
FuJacob
marked this pull request as ready for review
July 18, 2026 05:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
syncing documents
Greptile Summary
This PR syncs three documentation files to reflect new components and architectural refinements already present in the codebase. No production code is changed.
AGENTS.md/ARCHITECTURE.md: Adds entries forSuggestionStreamingState,PostExhaustionAcceptanceState,OpenAICompatibleSuggestionEngine, andSuggestionSettingsData; all four Swift files are confirmed to exist at their stated paths. Removes stale references torunConstrainedDecodeandcotabbyConstrainedDecoderEnabled, which are no longer present in the codebase..claude/CLAUDE.md: Tightens the description ofAGENTS.md's role and adds a cross-reference toARCHITECTURE.mdand the gitignored.internal/directory.Confidence Score: 5/5
Documentation-only changes; all referenced Swift files were verified present in the repo and removed symbols confirmed absent from code.
Every new component name and file path cited in the updated docs was cross-checked against the actual source tree — all exist. The deleted constrained-decoder references are gone from the Swift files too, so the docs accurately describe the current state of the code. No production logic is touched.
No files require special attention.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD CLAUDE[".claude/CLAUDE.md\n(agent entry point)"] --> AGENTS["AGENTS.md\ncanonical coding-agent instructions"] CLAUDE --> ARCH["ARCHITECTURE.md\nten-minute system map"] CLAUDE --> INTERNAL[".internal/\ngitignored deep-dive docs"] AGENTS --> SM["Suggestion State Machine"] SM --> SSM["SuggestionSettingsModel\n@Published UI-facing surface"] SSM --> SSD["SuggestionSettingsData\ndomain projection"] SSD --> SSS["SuggestionSettingsSnapshot\nimmutable pipeline boundary"] SM --> COORD["SuggestionCoordinator\norchestration + presentation state"] COORD --> SRS["SuggestionStreamingState\nlatest-wins coalescing"] COORD --> PEAS["PostExhaustionAcceptanceState\nbounded Tab-ownership window"] SM --> ENG["SuggestionEngineRouter"] ENG --> FME["FoundationModelSuggestionEngine\nApple on-device"] ENG --> LSE["LlamaSuggestionEngine\nllama.cpp path"] ENG --> OAI["OpenAICompatibleSuggestionEngine\nSSE streaming + Ollama preload"]%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%% flowchart TD CLAUDE[".claude/CLAUDE.md\n(agent entry point)"] --> AGENTS["AGENTS.md\ncanonical coding-agent instructions"] CLAUDE --> ARCH["ARCHITECTURE.md\nten-minute system map"] CLAUDE --> INTERNAL[".internal/\ngitignored deep-dive docs"] AGENTS --> SM["Suggestion State Machine"] SM --> SSM["SuggestionSettingsModel\n@Published UI-facing surface"] SSM --> SSD["SuggestionSettingsData\ndomain projection"] SSD --> SSS["SuggestionSettingsSnapshot\nimmutable pipeline boundary"] SM --> COORD["SuggestionCoordinator\norchestration + presentation state"] COORD --> SRS["SuggestionStreamingState\nlatest-wins coalescing"] COORD --> PEAS["PostExhaustionAcceptanceState\nbounded Tab-ownership window"] SM --> ENG["SuggestionEngineRouter"] ENG --> FME["FoundationModelSuggestionEngine\nApple on-device"] ENG --> LSE["LlamaSuggestionEngine\nllama.cpp path"] ENG --> OAI["OpenAICompatibleSuggestionEngine\nSSE streaming + Ollama preload"]Reviews (1): Last reviewed commit: "Clarify internal documentation scope" | Re-trigger Greptile